<template>
  <div class="container">
    <el-card class="box-card" shadow="never">
      <div slot="header" class="clearfix">
        <span>微信绑定</span>
      </div>
      <div class="optionGroup">
        <div class="op-item">
          <div>
            <span class="bindStatus">绑定状态</span>
          </div>
          <div>
            <span class="confirmStatus">已绑定</span>
          </div>
        </div>
        <div class="op-item" style="border-bottom: 0">
          <div>
            <span class="bindInfo">绑定信息</span>
          </div>
          <div>
            <div class="headPic">
              <img src="../../assets/images/233.jpg" alt="">
            </div>
            <span class="wechatName">马冬梅</span>
          </div>
        </div>
      </div>
    </el-card>
    <el-button class="themeButton">
      重新绑定
    </el-button>
  </div>
</template>

<script>
export default {
  name: "bindWechat"
}
</script>

<style lang="scss" scoped>
.box-card {
  width: 100%;

  .clearfix {
    text-align: left;
    font-size: 16px;
    color: #1e2431;
    font-weight: bold;
  }
}

.el-card {
  box-sizing: border-box;
  padding: 0 16px;
  border: 0;

  & > > > .el-card__header {
    padding: 14px 0;
  }

  & > > > .el-card__body {
    padding: 0;
  }

  & > > > .el-input__inner {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    height: 50px;
    line-height: 50px;
    padding: 0;
    border-radius: 0;
    border-bottom: 1px solid #EBEEF5;
  }
}

.optionGroup {
  .op-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    background-color: #fff;
    border-bottom: 1px solid rgba(112, 112, 112, .1);

    div {
      display: flex;
      align-items: center;

      span {
        display: inline-block;
        padding-left: 7px;
        font-size: 14px;
        line-height: 20px;
        color: #333;
      }
    }

    .bindStatus,
    .bindInfo {
      color: rgba(30, 36, 49, .6);
    }

    .headPic {
      height: 28px;
      width: 28px;
      border-radius: 50%;
      overflow: hidden;

      img {
        height: inherit;
        width: inherit;
      }
    }
  }
}

.themeButton {
  width: 100%;
  height: 42px;
  margin-top: 16px;
  color: #fff;
  opacity: 1;
  background: linear-gradient(90deg, rgba(253, 110, 5, 0.66) 10%, #fd6e05 81%);
  border-radius: 21px;
  border: none;
  transition: all .5s ease;

  &:hover,
  &:active {
    filter: brightness(1.1);
    box-shadow: 0 7px 25px 0 rgba(253, 110, 5, 0.41);
  }
}

</style>
